//
//  LYouDetailVideoView.h
//  LYouSubscribeApp
//
//  Created by grx on 2018/12/14.
//  Copyright © 2018年 grx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LYouVideoPlayer.h"
#import "LYouVideoModel.h"
#import "LYouVideoControlView.h"

NS_ASSUME_NONNULL_BEGIN

@interface LYouDetailVideoView : UIView<GKDYVideoPlayerDelegate>

@property (nonatomic, strong) LYouVideoControlView  *currentPlayView;
@property (nonatomic, strong) LYouVideoPlayer *player;
@property (nonatomic, strong) UIImageView *videoBgImage;
@property(nonatomic,strong) LYouVideoModel *currenModel;

- (instancetype)initWithVC:(UIViewController *)vc videoModel:(LYouVideoModel *)model;

- (void)pause;
- (void)resume;
- (void)destoryPlayer;

@end

NS_ASSUME_NONNULL_END
